VSOP87 data files for use with Visual BASIC
(c) Jay Tanner 2000 AD
These files were used to generate the VB Source code
in the planetary LBR function modules.
They are the data required to compute the heliocentric,
ecliptical coordinates L, B and R for each of the planets
from Mercury to Neptune according to the VSOP87 theory.
They give a theoretical, heliocentric accuracy to within
about 1 arc second over the period from:
2000 BC to 6000 AD for the planets Mercury to Mars.
1 BC to 4000 AD for Jupiter and Saturn.
4000 BC to 8000 AD for Uranus and Neptune.
L = Heliocentric, ecliptical longitude in radians
B = Heliocentric, ecliptical latitude in radians
R = Distance from the Sun in AU
Radians are used because the trig functions require arguments in radians. Having to convert thousands of degree values into radians before performing trig functions can consume quite a bit of time.
These data tables use radians to avoid the need for converting from degrees into radians first, making series summations faster. It is a trivial matter to convert the final computed results into degrees or other units for more convenient use afterwards.
Each L, B and R value is found by summing a series of terms. Some of these series contain over 2800 terms. There may be up to 5 series involved in computing L, B and R for a given planet, but sometimes there are less than five, such as in the case of Earth, there is no B5 series only B0 to B4. In such cases, the null series is equated to zero.
L = L0 + L1 + L2 + L3 + L4 + L5
B = B0 + B1 + B2 + B3 + B4 + B5
R = R0 + R1 + R2 + R3 + R4 + R5
Each line of data consists of three separate values referred to as A, B and C.
These constants are applied according to the general formula:
Q = A * Cos(B + C * T)
and the values of Q summed for each of the L, B and R series terms.